package com.javabi.codetype.error;

public class ErrorCodeException extends RuntimeException {

	private final IErrorCode code;

	public ErrorCodeException(IErrorCode code) {
		super(code.name());
		this.code = code;
	}

	public IErrorCode getCode() {
		return code;
	}

}
